package org.jeecg.modules.company.facade.impl;



import org.springframework.stereotype.Service;


import org.jeecg.base.facade.impl.IFacadeImpl;
import org.jeecg.modules.company.entity.QscBinding;
import org.jeecg.modules.company.facade.IQscBindingFacade;
import org.jeecg.modules.company.service.IQscBindingService;
import org.jeecg.modules.company.vo.QscBindingVo;
import org.springframework.beans.BeanUtils;

import org.springframework.beans.factory.annotation.Autowired;


/**
 * @Description: 质维码大小码绑定
 * @Author: zj
 * @Date:   2020-05-26
 * @Version: V1.0
 */


@Service
public class QscBindingFacadeImpl extends IFacadeImpl<QscBindingVo, QscBinding, IQscBindingService>  implements IQscBindingFacade<QscBindingVo, QscBinding> {
        @Autowired
        private IQscBindingService qscBindingService;


         @Override
         public QscBinding po2Vo(QscBindingVo vo) {
                QscBinding po = new QscBinding();
                if(vo==null){
                   return null;
                }
                BeanUtils.copyProperties(vo, po);
                return po;
         }

         @Override
         public QscBindingVo vo2Po(QscBinding po) {
                QscBindingVo vo = new QscBindingVo();
                 if(po==null){
                     return null;
                  }
                BeanUtils.copyProperties(po, vo);
                return vo;
         }

}
